package com.taxshare.seller.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.seller.constant.table.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @ClassName: SellerPrintConfigEntity
 * @Description:
 * @author: Hai
 * @date: 2021/6/9 10:14
 */
@Data
@Accessors(chain = true)
@TableName(TableConstant.T_SELLER_PRINT_CONFIG)
@ApiModel(description = "打印机配置信息表")
@NoArgsConstructor
public class SellerPrintConfigEntity implements Serializable {

    @TableId("uuid")
    @ApiModelProperty("主键")
    private String uuid;

    @TableField("seller_tax_no")
    @ApiModelProperty("销方税号")
    private String sellerTaxNo;

    @TableField("invoice_type")
    @ApiModelProperty("发票类型")
    private String invoiceType;

    @TableField("invoice_left")
    @ApiModelProperty("左边距")
    private String invoiceLeft;

    @TableField("invoice_top")
    @ApiModelProperty("上边距")
    private String invoiceTop;

    @TableField("print_name")
    @ApiModelProperty("打印机名称")
    private String printName;

    public SellerPrintConfigEntity(String uuid, String sellerTaxNo, String invoiceType, String invoiceLeft, String invoiceTop, String printName) {
        this.uuid = uuid;
        this.sellerTaxNo = sellerTaxNo;
        this.invoiceType = invoiceType;
        this.invoiceLeft = invoiceLeft;
        this.invoiceTop = invoiceTop;
        this.printName = printName;
    }
}
